package com.kkwrite.regimen.consumer.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * Created by lisha on 2018/7/20 17:25.
 *
 * @author lisha
 */
@Component
@RefreshScope
public class SystemConfig {

    @Value("${consumer.picture.save-path-prefix}")
    private String picturePathPrefix;
    @Value("${consumer.picture.access-path-prefix}")
    private String accessPicturePathPrefix;
    @Value("${consumer.pay.certificate-store-path}")
    private String payCertificateStoreFilePath;
    @Value("${consumer.picture.qrcode-path}")
    private String qrcodeFilePath;

    public String getPicturePathPrefix() {
        return picturePathPrefix;
    }

    public void setPicturePathPrefix(String picturePathPrefix) {
        this.picturePathPrefix = picturePathPrefix;
    }

    public String getAccessPicturePathPrefix() {
        return accessPicturePathPrefix;
    }

    public void setAccessPicturePathPrefix(String accessPicturePathPrefix) {
        this.accessPicturePathPrefix = accessPicturePathPrefix;
    }

    public String getPayCertificateStoreFilePath() {
        return payCertificateStoreFilePath;
    }

    public void setPayCertificateStoreFilePath(String payCertificateStoreFilePath) {
        this.payCertificateStoreFilePath = payCertificateStoreFilePath;
    }

    public String getQrcodeFilePath() {
        return qrcodeFilePath;
    }

    public void setQrcodeFilePath(String qrcodeFilePath) {
        this.qrcodeFilePath = qrcodeFilePath;
    }
}
